package cn.tedu.medicalpath.role.mapper;
import cn.tedu.medicalpath.role.pojo.dto.RoleQuery;
import cn.tedu.medicalpath.role.pojo.entity.Role;
import cn.tedu.medicalpath.role.pojo.vo.RoleVO;
import org.springframework.stereotype.Repository;
import java.util.List;

@Repository
public interface RoleMapper {

    List<RoleVO> selectRoles(RoleQuery roleQuery);

    RoleVO selectRoleById(Integer id);

    void insertRole(Role role);

    void updateRoleById(Role role);

    void deleteRoleById(Integer id);



}